<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<link rel="shortcut icon" href="../resources/favicon.ico" th:href="@{/static/favicon.ico}"/>

<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<!--使用绝对路径-->
<form action="/user/updateUser" method="post">
    <input type="hidden" name="userId" th:value="${user.userId}">
    <table>
        <tr>
            <td>用户名：</td>
            <td><input type="text" name="userName" th:value="${user.userName}"></td>
        </tr>
        <tr>
            <td>money：</td>
            <td><input type="text" name="money" th:value="${user.money}"></td>
        </tr>
        <tr>
            <td>密码：</td>
            <td><input type="text" name="password" th:value="${user.password}"></td>
        </tr>
    </table>
    <input type="submit" value="更新">
</form>
</body>
</html>